import request from "@/utils/request";

// 列表
export const getMoveList = () => {
  return request("/manager/carriages");
};

// 运费管理添加
export const addMove = (data) => {
  return request.post("/manager/carriages", data);
};

// 修改
export const xiugaiMove = (data) => {
  return request.put("/manager/carriages", data);
};

// 删除
export const delList = (id) => {
  return request.delete(`/manager/carriages/${id}`);
};
